INCLUDE=-I./ -I../Ingenic_SDK/ -I/opt/mips-gcc540-glibc222-r3.3.7.mxu2.cve/
LIBS= ../Ingenic_SDK/libimp.a ../Ingenic_SDK/libalog.a -lvenus -laip -ldrivers -lpthread -lrt -ldl -lm
all:rtsp-h264
rtsp-h264:
	 mips-linux-gnu-g++ -o rtsp-h264 -std=c++11 -mfp64 -mnan=2008 -mabs=2008 -Wall -EL -O3 -march=mips32r2 -flax-vector-conversions  -w -fpermissive  main.c ringfifo.c rtputils.c rtspservice.c rtsputils.c  sample-common.c sample-Encoder-video.c inference_nv12.cpp  $(INCLUDE) $(LIBS)
clean:
	rm -rfv rtsp-h264